/*
* Grammars alaways start with a grammar header.
* This gramar is called ArrayInit and must match the filename.
*/
grammar ArrayInit;

@header {
 package com.nightsoul.antlr4.test.demo1.gen;
}

init : '{' value (',' value)* '}' ;

value : init | INT ;

INT : [0-9]+ ;

WS : [ \t\r\n]+ -> skip ;